TFlexCompress.CompressionAlgorithm
TFlexCompress
Top 


Specifies the compression algorithm used for archive updating.

type TFXCCompressionAlgorithm = (caZLIB,caBZIP,caPPM);
property CompressionAlgorithm: TFXCCompressionAlgorithm;

Description
Use this property to specify the compression algorithm used for adding, moving or updating files.
TFlexCompress provides three different compression algorithms that gives you a great opportunity of tuning compression rate for different type of files or computers. You can read more about them in Compression algorithms topic

However we recommend you to runs some tests before you will use FlexCompress in your applications. It will help you to optimize your application for your needs.

Set CompressionAlgorithm to desired value before adding, moving or updating files.
CompressionAlgorithm can be set to any of the following values:

Value
Meaning
caZLIB
Deflate algorithm used in ZIP and ZLIB
caBZIP
BZIP algorithm, better compression rate then Deflate and fast decompression
caPPM
PPM algorithm, better compression rate then BZIP and rather slow